package details;

import java.util.ArrayList;

/**
 * @author Tami
 *
 */
public class Song extends Head {

	private String name ;
	private String artist;
	private String lyric;
	private ArrayList<Comment> comments;
	private int likes;
	private int views;
	
	public Song(int song_id,String name,String artist, String lyric,ArrayList<Comment> comments,int likes,int views) {
		super(song_id);
		setName(name);
		setArtist(artist);
		setLyric(lyric);
		setComments(comments);
		setLikes(likes);
		setViews(views);
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getArtist() {
		return artist;
	}
	public void setArtist(String artis) {
		this.artist = artis;
	}
	

	public String getLyric() {
		return lyric;
	}

	public void setLyric(String lyric) {
		this.lyric = lyric;
	}

	public ArrayList<Comment> getComments() {
		return comments;
	}

	public void setComments(ArrayList<Comment> comments) {
		this.comments = comments;
	}
	
	

	public int getLikes() {
		return likes;
	}

	public void setLikes(int likes) {
		this.likes = likes;
	}

	public int getViews() {
		return views;
	}

	public void setViews(int views) {
		this.views = views;
	}
	public String toString(){
		return getName() + " by " + getArtist();
	}
}
